package com.learn.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhaofa
 * @since 2019-11-12
 */
@TableName("order_tbl")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderTbl implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 
	 */
	@TableField(value="user_id")
	private String userId;

	/**
	 * 
	 */
	@TableField(value="commodity_code")
	private String commodityCode;

	/**
	 * 
	 */
	private Integer count;

	/**
	 * 
	 */
	private BigDecimal money;


}
